<?php

namespace Home\Controller;
use Think\Controller;
class HotmoreController extends Controller{
    
public function index(){
     $hot=M('good')->where(['hot'=>0])->select();
     $price=M('attr')->getfield('gid,price');
     $this->assign('price',$price);
     $this->assign('hot',$hot);
     $this->display();
}

   
}